package com.ltf.product;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @Auther: liutf
 * @Date: 2025/4/13
 * @Description: com.ltf.product
 * @version: 1.0
 */


public class Main {
    public static void main(String[] args) {
        Pattern p = Pattern.compile("[A-Z][a-z]*");
        Matcher m = p.matcher("delivers");
        while (m.find()) {
            System.out.println(m.group());
        }
    }
}
